package com.sangsang.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
//import com.sangsang.kafka.domain.annos.CDC;
import com.sangsang.domain.annotation.CDC;
import lombok.Data;

/**
 * @author liutangqi
 * @date 2025/1/13 15:59
 */
@TableName("tb_user")
@Data
@CDC(topic = "user_topic")
public class UserEntity {

    @TableId("id")
    private Long id;

    @TableField("name")
    private String name;

    @TableField("age")
    private Integer age;

}
